<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="/common/_container :: htmlhead"></head>
<body>
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-title">
					<h5>题目管理</h5>
				</div>
				<div class="ibox-content">
					<div class="row row-lg">
						<div class="col-sm-12">
							<div class="row">
								<div class="col-lg-12 col-sm-12">
									<div class="row">
										<div class="col-lg-10 col-sm-9">
											<div class="row">											
												<div class="col-sm-3">
                            						<div class="input-group">
								    					<div class="input-group-btn">
								        					<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
								           	 					检查表
								        					</button>
								    					</div>
								    					<select class="form-control" id="catagoryId">
								        					<option value="">---请选择检查表类型----</option>
								        					<option th:each="code,iterStat:${qcList}" th:value="${code.id}" th:text="${code.className}"></option>
								    					</select>
													</div>
                          						 </div>
                          						 <!-- 
                          						 <div class="col-lg-4 col-sm-12" >												
													<div class="input-group">
													    <div class="input-group-btn">
													        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">题目内容
													        </button>
													    </div>
													    <input type="text" class="form-control" id="content" placeholder="题目内容" />
													</div>
												   </div>
												    -->
											</div>
										</div>
										<div class="col-lg-2 col-sm-3">
											<div class="row">
												<div class="col-lg-12 col-sm-12">
													 <button type="button" class="btn btn-primary" onclick="Subjects.search()" >
													    <i class="fa fa-search"></i>&nbsp;搜索
													</button>
													<button type="button" class="btn btn-primary button-margin" onclick="Subjects.resetSearch()" >
													    <i class="fa fa-trash"></i>&nbsp;重置
													</button>													
												</div>
											</div>
										</div>
									</div>
									<div class="hidden-xs" id="schoolCourseTableToolbar" role="group">
									
									<!--  <shiro:hasPermission name="ks_add"> -->	
											<button type="button" class="btn btn-primary" onclick="Subjects.openAddSubjects()" >
												<i class="fa fa-plus"></i>&nbsp;添加
											</button>
									<!-- 	</shiro:hasPermission>-->	
									<!-- 	 <shiro:hasPermission name="ks_update"> -->	
											<button type="button" class="btn btn-primary" onclick="Subjects.openChange()" >
												<i class="fa fa-plus"></i>&nbsp;修改
											</button>
									<!-- 	</shiro:hasPermission>-->	
									<!-- 	<shiro:hasPermission name="ks_delete"> -->	
											<button type="button" class="btn btn-primary" onclick="Subjects.openDel()" >
												<i class="fa fa-plus"></i>&nbsp;删除
											</button>
									<!-- 	</shiro:hasPermission>-->	
									<!-- 	<shiro:hasPermission name="ks_option"> -->	
											<button type="button" class="btn btn-primary" onclick="Subjects.openSubjectsOption()" >
												<i class="fa fa-plus"></i>&nbsp;配置答案选项
											</button>
									<!-- 	</shiro:hasPermission> -->	
									</div>
									
									<table id="SubjectsTable" data-mobile-responsive="true" data-click-to-select="true">
									    <thead>
									        <tr>
									            <th data-field="selectItem" data-checkbox="true"></th>
									        </tr>
									    </thead>
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script th:src="@{/static/modular/subjects/subjects/subjects.js}"></script>
</body>
</html>	
